//
//  BusOrderAddressCell.swift
//  SwiftTestDemo
//
//  Created by John on 2018/5/22.
//  Copyright © 2018年 company. All rights reserved.
//

import UIKit

class BusOrderAddressCell: UITableViewCell {

    @IBOutlet weak var lblAddress: UILabel!
    
    @IBOutlet weak var layoutArrowLeft: NSLayoutConstraint!
    
    var _sAddress:String?{
        didSet{
            self.lblAddress.text = _sAddress
        }
    }
    
    var _bCanPress:Bool?{
        didSet{
            self.layoutArrowLeft.constant = _bCanPress! ? 15 : -8
        }
    }
    
    var sAddress:String?{
        get{
            return _sAddress
        }
        set{
            _sAddress = newValue
        }
    }
    
    var bCanPress:Bool?{
        get{
            return _bCanPress
        }
        set{
            _bCanPress = newValue
        }
    }
    
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
    
    
}
